home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970929-19971216 / 000176_news@newsmaster….columbia.edu _Fri Oct 24 05:30:58 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id FAA09543
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 24 Oct 1997 05:30:57 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id FAA26331
  7.     for kermit.misc@watsun; Fri, 24 Oct 1997 05:30:57 -0400 (EDT)
  8. Path: news.columbia.edu!news.new-york.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.he.net!nntp.flash.net!news.mira.net.au!news.mel.aone.net.au!newsfeed-in.aone.net.au!news.mel.connect.com.au!not-for-mail
  9. From: Ross Irvine <rirvine@netlink.com.au>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Getting a string from the modem?
  12. Date: Fri, 24 Oct 1997 11:15:41 +1000
  13. Organization: Australian NetLink
  14. Lines: 18
  15. Message-ID: <344FF6BD.65B7@netlink.com.au>
  16. NNTP-Posting-Host: kermit.netlink.com.au
  17. Mime-Version: 1.0
  18. Content-Type: text/plain; charset=us-ascii
  19. Content-Transfer-Encoding: 7bit
  20. X-Mailer: Mozilla 3.01C-NSCP  (Win95; I)
  21. Cache-Post-Path: kermit.netlink.com.au!unknown@dl313.mel.netlink.com.au
  22. Xref: news.columbia.edu comp.protocols.kermit.misc:7956
  23.  
  24. Hi All,
  25.     I like to know how to do this:
  26.  
  27. output atdt55555\13
  28.     wait for 90 OR wait for CONNECT, BUSY etc.
  29.  
  30. Basically after the output of the dial I want it to read the first
  31. line that the modem returns and exit the input so I can process
  32. if it was CONNECT/BUSY etc. BUT I also need it to timeout after X
  33. seconds if nothing has been sent from the modem. So there are two exit
  34. conditions. 1 if it gets something from the modem, and 2 exit after a
  35. timeout.
  36.  
  37. Any ideas?
  38.  
  39. regards.
  40.  
  41. Ross irvine